/**
 * 
 */
package org.softTank.BC.data;

import org.softTank.BC.entity.services.MessageType;
import org.springside.modules.test.DataUtils;

/**
 * @author Yuzone
 *
 */
public class MessageTypeData {

	public static MessageType getRandomMessageTypeWithoutFK() {
		MessageType mt = new MessageType();
		mt.setName(DataUtils.randomName("messageType"));
		mt.setDescription("desc");
		mt.setLocation("location");
		mt.setNamespace("ns");

		return mt;
	}

	public static MessageType getRandomMessageTypeWithFK() {
		MessageType mt = getRandomMessageTypeWithoutFK();

		return mt;
	}

	public static MessageType getTestMessageType() {
		MessageType mt = getRandomMessageTypeWithoutFK();
		mt.setId(1L);
		mt.setName("name");

		return mt;
	}

	public static MessageType getMessageTypeWithInferiors() {
		MessageType mt = getRandomMessageTypeWithoutFK();
		mt.setId(1L);
		mt.setName("name");

		return mt;
	}
}
